type net/http.relationship
14 uses
net/http (current package)
pattern.go#L209: type relationship string
pattern.go#L212: equivalent relationship = "equivalent" // both match the same requests
pattern.go#L213: moreGeneral relationship = "moreGeneral" // p1 matches everything p2 does & more
pattern.go#L214: moreSpecific relationship = "moreSpecific" // p2 matches everything p1 does & more
pattern.go#L215: disjoint relationship = "disjoint" // there is no request that both match
pattern.go#L216: overlaps relationship = "overlaps" // there is a request that both match, but neither is more specific
pattern.go#L243: func (p1 *pattern) comparePathsAndMethods(p2 *pattern) relationship {
pattern.go#L260: func (p1 *pattern) compareMethods(p2 *pattern) relationship {
pattern.go#L283: func (p1 *pattern) comparePaths(p2 *pattern) relationship {
pattern.go#L318: func compareSegments(s1, s2 segment) relationship {
pattern.go#L359: func combineRelationships(r1, r2 relationship) relationship {
pattern.go#L386: func inverseRelationship(r relationship) relationship {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |